package org.example.pojo;


import jdk.jfr.DataAmount;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "wh.user")  //写通用的前缀
public class User {

    private String username;

    private String password;


    //value(key必须写全),value只能读取单个值
    private List<String> gfs;


}
